<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    function showargs() {
        console.log( arguments );
    }

    showargs(1,2,3,4,5);
</script>

</body>
</html>